package com.bosssoft.hr.train.j2se.exception;

public enum ExceptionCode {

    ILLEGAL_ACCESS("100","非法访问"),//非法访问
    COLUMN_NOT_EXIT("101","数据库中列不存在"),//数据库中列不存在
    INVALID_PARAM("102","参数不合理");//数据库中列不存在
    private String code;
    private String msg;


    ExceptionCode(String code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg(){
        return msg;
    }



}
